package com.huilian.iotbox.admin.wap.dao;

import com.huilian.iotbox.data.dto.DeviceAnnualFeeDto;
import com.huilian.iotbox.data.po.DeviceAnnualFee;
import com.huilian.iotbox.data.vo.DeviceAnnualFeeVo;
import com.huilian.iotbox.data.vo.UserInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author: loong
 * @create: 2024-06-24 10:33
 **/
public interface DeviceAnnualFeeDao {
    List<DeviceAnnualFeeVo> findByUserId(UserInfo userInfo);

    List<DeviceAnnualFeeVo> findStatisticsById(DeviceAnnualFeeDto deviceAnnualFeeDto);

    List<DeviceAnnualFeeVo> findByIdList(@Param("idList") List<Integer> idList);

    List<DeviceAnnualFeeVo> findByDeviceAnnualFeeRecordId(Integer deviceAnnualFeeRecordId);

    void update(DeviceAnnualFee deviceAnnualFee);
}
